package com.peas.platform.module.icims.budget.adjust.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.BudgetNewKpiRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.po.BudgetNewKpiPo;
import com.peas.platform.module.icims.budget.adjust.domain.BudgetNewKpiDomain;
import com.peas.platform.module.icims.budget.adjust.dto.BudgetNewKpiDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetNewKpiDomainImpl extends BaseDomainImpl<BudgetNewKpiDto, BudgetNewKpiPo> implements BudgetNewKpiDomain {

    @Resource
    private BudgetNewKpiRepository budgetNewKpiRepository;

    @Override
    public BaseRepository<BudgetNewKpiPo> getMapper() {
        return budgetNewKpiRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetNewKpiPo>> getRepositoryClass() {
        return BudgetNewKpiRepository.class;
    }

}
